<?php

class CoreException extends Exception {}
class ObjectException extends Exception {}
class AccessException extends Exception {}
class BlockException extends Exception {}
class ControllerException extends Exception {}
class NotFound extends Exception {}

class MySQLException extends Exception {

	public $sSQLString = '';
	
	/**
	 * Конструктор
	 * @param string $sMySQLError
	 * @param string $sSQLString
	 */
	public function __construct ($sMySQLError, $sSQLString) {
		parent::__construct ($sMySQLError . ' ' . $sSQLString);
		$this->sSQLString = $sSQLString;
	}
	
}
